package edu.dayu.proxyTest2;

public class TransactionInterceptor implements Interceptor{
    @Override
    public Object intercept(Invocation invocation) throws Exception {
        System.out.println("通知之前");
        Object process = invocation.process();
        System.out.println("通知之后");
        return process;
    }
}
